package net.hn.hnms.biz.process.domain;


import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@TableName(value = "standard_process",schema = "scgl")
@ApiModel(value = " 岗位标准化作业流程")
public class StandardProcess extends BaseModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_UUID)
    @ApiModelProperty(value = "主键ID")
    private String id;

    @ApiModelProperty(value = "工序id")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String processId;

    @ApiModelProperty(value = "流程名称")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String flowName;

    @ApiModelProperty(value = "作业流程图")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String flowImageName;

    @ApiModelProperty(value = "作业流程图url")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String flowImageUrl;

    @ApiModelProperty(value = "流程基本信息")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String flowInfo;

    @ApiModelProperty(value = "发布状态 1发布 0 未发布")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String flowState;

}
